
#include <windows.h>
#include "basetype.h"

#ifndef __THREADOBJ_H__
#define __THREADOBJ_H__

class CThreadLock
{
public:
	CThreadLock();
	virtual ~CThreadLock();

	int32 Lock();
	int32 UnLock();

protected:
	CRITICAL_SECTION		m_criticalSec;
};

#endif